package com.yykj.order.center.client.form.consultation;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ConsultationCreateForm {

    @NotEmpty(message = "患者姓名不能为空")
    @ApiModelProperty(value = "患者姓名", required = true)
    public String patientName;

    @NotEmpty(message = "发起医生Id不能为空")
    @ApiModelProperty(value = "发起医生Id", required = true)
    public String doctorId;

    @ApiModelProperty(value = "患者性别,0:不明,1:男,2:女")
    public int patientGender;

    @ApiModelProperty(value = "患者年龄")
    public String patientAge;

    @ApiModelProperty(value = "患者手机")
    public String patientMobile;

    @ApiModelProperty(value = "患者身份证")
    public String patientIdCard;

    @ApiModelProperty(value = "患者就诊卡号/病历号")
    public String patientMedicalNo;

    @NotEmpty(message = "会诊类型Id不能为空")
    @ApiModelProperty(value = "会诊类型Id", required = true)
    public String typeId;

    @NotEmpty(message = "会诊类型名字不能为空")
    @ApiModelProperty(value = "会诊类型名字", required = true)
    public String typeName;

    @NotEmpty(message = "群聊头像地址")
    @ApiModelProperty(value = "群聊头像地址", required = true)
    public String faceUrl;

    @ApiModelProperty(value = "是否需要医院审核,1:需要,0:不需要")
    public int needReview;

    @ApiModelProperty(value = "与会医生Id列表", required = true)
    @NotEmpty(message = "与会医生不能为空")
    public List<String> doctorIdList;

    @ApiModelProperty(value = "会诊动态扩展字段列表")
    public List<ConsultationCreateDetailForm> consultationDetailList;
}
